package com.example.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@SuppressWarnings("all")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;                //id
    private String account;        //账号
    private String password;        //密码
    private String email;        //邮箱
    private String avatar;        //头像
    private Integer score;            //
    private Date regtime;        //注册时间
    private String status;        //状态
    private List<Address> addresses;    //收货地址
}
